package com.toy.service.impl;

import com.toy.entity.UserAddress;
import com.toy.mapper.UserAddressMapper;
import com.toy.service.UserAddressService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author admin
 * @since 2022-08-31
 */
@Service
public class UserAddressServiceImpl extends ServiceImpl<UserAddressMapper, UserAddress> implements UserAddressService {
    @Autowired
    private UserAddressMapper userAddressMapper;
    @Override
    public int setDefault() {
        return this.userAddressMapper.setDefault();
    }
}
